package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 党统问题日志对象 dt_question_log
 * 
 * @author ruoyi
 * @date 2024-03-25
 */
public class DtQuestionLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 日志ID */
    private String id;

    /** 事项ID */
    @Excel(name = "事项ID")
    private String questionId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private String userId;

    /** 用户姓名 */
    @Excel(name = "用户姓名")
    private String userName;

    /** 记录时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "记录时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date optionTime;

    /** 意见 */
    @Excel(name = "意见")
    private String idea;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setQuestionId(String questionId) 
    {
        this.questionId = questionId;
    }

    public String getQuestionId() 
    {
        return questionId;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setOptionTime(Date optionTime) 
    {
        this.optionTime = optionTime;
    }

    public Date getOptionTime() 
    {
        return optionTime;
    }
    public void setIdea(String idea) 
    {
        this.idea = idea;
    }

    public String getIdea() 
    {
        return idea;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("questionId", getQuestionId())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("optionTime", getOptionTime())
            .append("idea", getIdea())
            .toString();
    }
}
